package com.itheima.exercise.people;

public class Manager extends People{
    //经理的奖金属性
    private double bonus;

    public double getBonus() {
        return bonus;
    }

    public void setBonus(double bonus) {
        this.bonus = bonus;
    }

    public Manager(String id, String name, String age, double bonus) {
        super(id, name, age);
        this.bonus = bonus;
    }

    public Manager() {
    }

    @Override
    public void method() {
        System.out.println("大家周末加班!");

    }
}
